package cn.com.surker.material.dao;

import cn.com.surker.material.entity.MainMaterialContract;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 原材合同 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-07-01
 */
public interface MainMaterialContractDao extends BaseMapper<MainMaterialContract> {

    /**
     * 根据公司、供应商查询合同是否存在
     * @param orgId
     * @param contractId
     * @param type
     * @return
     */
    MainMaterialContract queryByContractId(Long orgId, Long contractId);

}
